<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!-- #section:basics/content.breadcrumbs -->
<script src="../assets/js/jqGrid/jquery.jqGrid.min.js"></script>
<script src="../assets/js/jqGrid/i18n/grid.locale-cn.js"></script>
<script src="../assets/js/spin.min.js"></script>
<div class="breadcrumbs" id="breadcrumbs">
	<script type="text/javascript">
		try {
			ace.settings.check('breadcrumbs', 'fixed');
		} catch (e) {
		}
	</script>

	<ul class="breadcrumb">
		<li><i class="ace-icon fa fa-home home-icon"></i> <a href="#"
			id="firstRange"></a></li>
		<li class="active" id="secondRange"></li>
	</ul>
	<!-- /.breadcrumb -->

</div>

<!-- /.page-header -->
<!-- PAGE CONTENT BEGINS -->
<div class="page-content" style="overflow-y:auto;" id="page-content">
	<div class="page-header page_header_A col-xs-12">
		<div class="widget-box"><!-- 查询框 -->
			<div class="widget-header widget-header-small">
				<h5 class="widget-title lighter">检修小时数查询</h5>
			</div>

			<div class="widget-body">
				<div class="widget-main widget-main_A">
					<form class="form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label" for="farmid" style="width:120px;">类型: </label>
							<div class="radio" >
								<label class="col-sm-1">
									<input name="searchType" type="radio" value="single" checked="checked" class="ace">
									<span class="lbl"> 单风场</span>
								</label>
								<label class="col-sm-1">
									<input name="searchType" type="radio" value="multiple" class="ace">
									<span class="lbl"> 多风场</span>
								</label>
							</div>
						</div>
						<div id="singleFarm">
							<div class="form-group">
								<label class="col-sm-2 control-label" for="farmid" style="width:120px;">风场: </label>
								<select class="col-sm-2" id="farmid"></select>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label" for="ltb" style="width:120px;">机组: </label>
								<select class="col-sm-2" id="ltb"></select>
								<label class="col-sm-2 control-label" for="htb" style="width:60px;text-align: center;">到</label>
								<select class="col-sm-2" id="htb"></select>
							</div>
						</div>
						<div id="multiFarm" class="hidden">
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label" for="start" style="width:120px;">统计日期: </label>
							<div class='input-group input-group-sm  col-sm-4'>
								<input type='text' id='start' class='form-control date-picker' data-date-format="yyyy-dd-mm" /><span class='input-group-addon'><i class='ace-icon fa fa-calendar'></i></span>
								<input type='text' id='end' class='form-control date-picker' data-date-format="yyyy-dd-mm" /><span class='input-group-addon'><i class='ace-icon fa fa-calendar'></i></span>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label" for="search" style="width:120px;"></label>
							<span class="input-group-btn">
								<input type="button" id="search" value="查询" class="btn btn-purple btn-sm">
								<i class="ace-icon fa fa-search icon-on-right bigger-110"></i>
							</span>
						</div>
						<div id="modal" class="modal"></div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div id="modal" class="modal"></div>
	<div class="row">
		<div class="col-xs-12">
			<!-- PAGE CONTENT BEGINS -->
			
			<table id="grid-table"></table>

			<div id="grid-pager"></div>
			
			<script type="text/javascript">
				var $path_base = "..";//this will be used for editurl parameter
			</script>

			<!-- PAGE CONTENT ENDS -->
		</div>
		<!-- /.col -->
	</div>
</div>
<script src="../js/plugin/Highcharts-4.0.3/highcharts.js"></script>
<script src="../js/plugin/Highcharts-4.0.3/themes/dark-green.js"></script>
<script type="text/javascript" src="../js/plugin/Highcharts-4.0.3/highcharts-more.js"></script>
<script type="text/javascript" src="../js/plugin/shCircleLoader.js"></script>
<script type="text/javascript" src="../js/kpi/checkTime.js"></script>
<!-- PAGE CONTENT ENDS -->